package com.springcloudalibaba;

import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @描述: SpringBootAdmin服务端 TODO 访问地址： http://127.0.0.1:8760/springBootAdminServer/login
 * @作者: lixing
 * @日期 2021/6/6 14:46
 */
@SpringBootApplication
/** 让注册中心能够发现，扫描到该服务 */
@EnableDiscoveryClient
/** 开启SpringBootAdminServer */
@EnableAdminServer
public class SpringBootAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootAdminApplication.class, args);
    }
}
